<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      var length = 100;
      function f1() {
        console.log(this.length);
      }
      var obj = {
        length: 10,
        f2: function (f1) {
          f1();
          arguments[0]();
        },
      };
      obj.f2(f1, 1);
    </script>
  </body>
</html>
